{# twig template #}
<script src="/assets/libs/vue.min.js"></script>

<script>
    // 修改 Vue 模板标签
    if ( "undefined" != typeof Vue ) {
        // 修改文本插值的定界符。
        // ES6 模板字符串
        Vue.config.delimiters = ['${', '}'];
        // 修改原生 HTML 插值的定界符。
        // make it look more dangerous
        Vue.config.unsafeDelimiters = ['{!!', '!!}'];
    }
</script>

<script src="/assets/libs/vue-resource/vue-resource.min.js"></script>

{% if loadValid is defined and loadValid %}
    <script src="/assets/libs/vue-validator/vue-validator.min.js"></script>
{% endif %}
